import request from '../utils/request.js'

export function getComment(params) {
    return request({
        url: '/api/comment/list',
        method: 'get',
        params:params
    });
}

export function addComment(params) {
    return request({
        url: '/api/comment/add',
        method: 'post',
        data:params
    });
}